package cn.skyquant.quant4j.api.quant;

import java.io.Serializable;

public class Tick implements Serializable {
    public static final long serialVersionUID = 1L;
    public final double ask;
    public final double[] asks;
    public final double bid;
    public final double[] bids;
    public final double askVolumn;
    public final double[] askVolumns;
    public final double bidVolumn;
    public final double[] bidVolumns;
    public final String symbol;

    public String getSymbol() {
        return symbol;
    }

    public Tick(String symbol, double ask, double[] asks, double bid, double[] bids, double askVolumn, double[] askVolumns, double bidVolumn, double[] bidVolumns) {
        this.symbol = symbol;
        this.ask = ask;
        this.asks = asks;
        this.bid = bid;
        this.bids = bids;
        this.askVolumn = askVolumn;
        this.askVolumns = askVolumns;
        this.bidVolumn = bidVolumn;
        this.bidVolumns = bidVolumns;
    }
}
